package com.settlement.system.service;

import com.settlement.system.model.entity.OdsErpRetailSalesOrderDetails;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.OdsErpRetailSalesOrderDetailsQuery;
import com.settlement.system.model.form.OdsErpRetailSalesOrderDetailsForm;
import com.settlement.system.model.vo.OdsErpRetailSalesOrderDetailsImportVo;
import java.util.List;

/**
 * <p>
 * ERP零售销货单明细表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2024-08-02
 */
public interface OdsErpRetailSalesOrderDetailsService extends IService<OdsErpRetailSalesOrderDetails> {

    Page<OdsErpRetailSalesOrderDetails> getPage(OdsErpRetailSalesOrderDetailsQuery queryParams);

    boolean saveOdsErpRetailSalesOrderDetails(OdsErpRetailSalesOrderDetailsForm odsErpRetailSalesOrderDetailsForm);

    OdsErpRetailSalesOrderDetailsForm getOdsErpRetailSalesOrderDetailsFormData(Long id);

    boolean deleteOdsErpRetailSalesOrderDetails(String ids);

    void importData(List<OdsErpRetailSalesOrderDetailsImportVo> importVos);

    List<OdsErpRetailSalesOrderDetailsImportVo> findByIds(String idsStr);
}
